package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dts_car_feedback")
public class DtsCarFeedback implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "config_id")
    private Long confId;

    /**
     * 业务id 租车 退车订单ID
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 业务类型
     */
    @TableField(value = "type")
    private Byte type;

    /**
     * 1:未使用 0:已使用
     */
    @TableField(value = "status")
    private Byte status;

    /**
     * 业务审核日期
     */
    @TableField(value = "approval_time")
    private Date approvalTime;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    private static final long serialVersionUID = 1L;
}